from rest_framework import serializers

from apps.food.models import FoodCategory, Foods


class RecommendSerializer(serializers.ModelSerializer):
    """推荐序列化器类"""

    class Meta:
        model = Foods
        fields = ('id', "name", "title", "default_image")

